import Vue from 'vue'

let MaskingCon = Vue.extend(require('./Preloader.vue'))

let masking = () => {
    let instance = new MaskingCon()

    instance.vm = instance.$mount()

    document.body.appendChild(instance.$mount().$el)

    return instance.vm
}

export default masking
